home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Resource Library: Multimedia
/
Resource Library: Multimedia.iso
/
hypertxt
/
msdos
/
hydos10
/
vdisk
< prev
next >
Wrap
Text File
|
1991-04-25
|
2KB
|
53 lines
VDISK
Sets up a virtual (RAM) disk
See also <DEVICE> <CONFIG.SYS>
Virtual disks actually make your computers memory act like a disk
drive. As a result, a virtual disk will be much faster than an actual
disk drive. MSDOS supplies a device driver to create this virtual
disc. Versions up to 3.3 were called VDISK.SYS. Version 4 calls it
RAMDRIVE.SYS
COMMAND TYPE: External VERSION: 3.0 and up
(DOS 3.0-3.3)
USE: DEVICE=VDISK.SYS[comment][bbb] [comment][sss][comment][ddd] [/E[:m]]
comment is a message containing normal text characters.
bbb is the size of the virtual disk in kbytes. Values between 1K and
the memory available in your machine will be accepted.
sss is the sector size in bytes. 128, 256, and 512 are the sizes that
will be accepted. A smaller sector size will utilize space much
better, but a larger sector will improve performance.
ddd is the number of files that the virtual disk can hold. Values
between 2 and 512 are accepted.
/E will force VDISK to use the extended memory (memory above 1
megabyte).
:m is the maximum number of sectors of data that VDISK will transfer
at a time. The possible numbers for :m are 1 through 8.
EXAMPLE: DEVICE=VDISK.SYS 200 256 64
sets up a virtual disk with 200K storage space, 256 bytes per sector,
and 64 directory entries.
(DOS 4.0 and later)
USE: DEVICE=RAMDRIVE.SYS [bbb] [sss] [ddd] [/E] [/A]
bbb is the size of the virtual disk in kbytes. Values between 16K and the
memory available in your machine will be accepted. The default is 64k
sss is the sector size in bytes. 128, 256, 512 and 1024 are accepted. The
default is 512. A smaller sector size will utilize space much better,
but a larger sector will improve performance.
ddd is the number of root directory entries that the virtual disk can
hold. Values between 4 and 1024 are accepted. The default is 64
/E will place the virtual disc in extended memory (memory above 1
megabyte). This cannot be specified with /A
/A will place the virtual disc in LIM expanded memory. This cannot be
specified with /E
NOTE: The VDISK.SYS or RAMDRIVE.SYS device drivers must be placed in the
CONFIG.SYS file and be used in conjunction with the DEVICE = DRIVER
command.
NOTE: The contents of a virtual disc will be lost when you reset or turn
off the computer.